﻿using System;
using SharpSqlAnalyzer.nodes.mdx;

namespace SharpSqlAnalyzer.stmt.mdx
{
	// Token: 0x02000198 RID: 408
	public class TMdxCreateSet : TCustomSqlStatement
	{
		// Token: 0x06000E17 RID: 3607 RVA: 0x003096D4 File Offset: 0x003078D4
		public TMdxCreateSet(EDbVendor dbvendor) : base(dbvendor)
		{
			this.sqlstatementtype = ESqlStatementType.sstmdxcreateset;
		}

		// Token: 0x1700028F RID: 655
		// (get) Token: 0x06000E18 RID: 3608 RVA: 0x003096E8 File Offset: 0x003078E8
		public virtual TMdxCreateSetNode CreateSetNode
		{
			get
			{
				return this.createSetNode;
			}
		}

		// Token: 0x06000E19 RID: 3609 RVA: 0x003096F0 File Offset: 0x003078F0
		public override int doParseStatement(TCustomSqlStatement psql)
		{
			if (this.rootNode == null)
			{
				return -1;
			}
			base.doParseStatement(psql);
			this.createSetNode = (TMdxCreateSetNode)this.rootNode;
			return 0;
		}

		// Token: 0x04001324 RID: 4900
		private TMdxCreateSetNode createSetNode;
	}
}
